//#define NEIN
#ifndef NEIN

#include "ses/ses_display_print.h"
#include "ses/ses_scheduler.h"
#include "ses/ses_adc.h"
#include "adc_measure.h"
#include "ses/ses_led.h"

/**
 * 	This program measures the light, temperature and joystick direction
 * 	and displays it on the lcd. The measures are always the mean of
 * 	8 adc measurements.
 */
int main() {
	/* Init Board */
	displayPrint_init();
	scheduler_init();
	adc_init();

	/* Start Measure Cycle */
	scheduler_add(startReadLight, ADC_MEASURE_DELAY);

	/* Enable interrupts and scheduler */
	sei();
	scheduler_run();

	/* won't reach this code ... */
	return 0;
}

#endif /* NEIN */
